package com.fauks.ssm.mybatis.mapper;

import com.fauks.ssm.mybatis.bean.MProxy;

import java.util.List;
import java.util.Map;

/**
 * Mapper动态代理
 */
public interface ProxyMapper {
    void insertProxyBean(MProxy proxy);

    List<MProxy> selectAllProxy();

    //根据名称与年龄查询
    List<MProxy> selectProxyByNameAndAgeMap(Map<String, Object> params);

    List<MProxy> selectProxyByIndex(String name, int age);

    MProxy selectProxyByAge(int age);
}
